//
//  XDAttainmentData.m
//  XDEducation
//
//  Created by apple on 2017/4/7.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDAttainmentData.h"

@interface XDAttainmentData ()



@end

@implementation XDAttainmentData

+(NSMutableArray *)getAttainmentData{

    
    NSString *photographer = @"小小摄影师";
    
    if(iPhone5){
    
        photographer = @"小摄影师";
    }
    
    //1.兴趣爱好
    NSMutableArray *hobbyItemArray = [NSMutableArray arrayWithObjects:
                                      @{@"itemName":@"棋行天下",@"itemIcon":@"home_icon_chess_default"},
                                      @{@"itemName":@"球星之路",@"itemIcon":@"home_icon_basketball_default"},
                                      @{@"itemName":@"智慧巧手",@"itemIcon":@"home_icon_hand_default"},
                                      @{@"itemName":@"经典引荐",@"itemIcon":@"home_icon_book_default"},
                                      @{@"itemName":photographer,@"itemIcon":@"home_icon_photography_default"},
                                      @{@"itemName":@"弦乐之音",@"itemIcon":@"home_icon_music_default"},
                                      @{@"itemName":@"爱的美食",@"itemIcon":@"home_icon_diet_default"},
                                      @{@"itemName":@"绘画小屋",@"itemIcon":@"home_icon_painting_default"},
                                      @{@"itemName":@"书法天地",@"itemIcon":@"home_icon_calligraphy_default"},
                                      @{@"itemName":@"炫舞精灵",@"itemIcon":@"home_icon_dance_default"},
                                      nil];
    
    
    //2.拓展训练
    NSMutableArray *trainItemArray = [NSMutableArray arrayWithObjects:
                                      @{@"itemName":@"手工制作",@"itemIcon":@"home_icon_manual_default"},
                                      @{@"itemName":@"判断力",@"itemIcon":@"home_icon_judgment_default"},
                                      @{@"itemName":@"注意力",@"itemIcon":@"home_icon_attention_default"},
                                      @{@"itemName":@"思考力",@"itemIcon":@"home_icon_thinking_default"},
                                      nil];
    
    
    
    
    //3.星光大道 奇思妙想  两个button的图片
    NSMutableArray *otherItemArray = [NSMutableArray arrayWithObjects:
                                      @{@"itemName":@"",@"itemIcon":@"home_btn_avenue_of_stars_default"},
                                      @{@"itemName":@"",@"itemIcon":@"home_btn_ideas_default"},
                                      nil];
    
    
    
    //4.好素养 只有标题
    NSMutableArray *vedioItemArray = [NSMutableArray array];
    
    
    //数据源
    NSMutableArray *attainmentData = [NSMutableArray arrayWithObjects:@{@"title":@"兴趣爱好",@"item":hobbyItemArray},
                       @{@"title":@"拓展训练",@"item":trainItemArray},
                       @{@"title":@"",@"item":otherItemArray},
                       @{@"title":@"好素养视频",@"item":vedioItemArray},
                       nil];

    return attainmentData;
}

@end
